<template>
  <div id="app" :style="`background-color:#030303${transparency}`">
    <Header />
      <router-view></router-view>
  </div>
</template>
<script>
import Header from "./components/herader.vue";
import store from './store/index'
export default {
  components: { Header },
  data() {
    return {
    }
  },
  computed: {
    transparency(){
      return Math.floor(store.state.transparency)
    }
  },
};
</script>
<style>
#app {
  position: relative;
  text-align: center;
  color: rgb(207, 207, 207);
  user-select: none;
  overflow: hidden;
}
/* 去掉滚动条 */
html::-webkit-scrollbar {
  display: none;
}
</style>
